package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.RoadLineEntity;

import java.util.List;

public class RoadLineDto {
    private Integer roadLineId;
    private String projectNumber;
    private Integer coordinateId;
    private Integer roadLineRegionId;
    private String roadLineProvince;
    private String roadLineCity;
    private String roadLineArea;
    private String roadLineRoadName;
    private String roadLineStartRoad;
    private String roadLineEndRoad;
    private Integer roadLineType;
    private Integer roadLineGraphic;
    private String roadLinePhoto;
    private String roadLineInstallTime;
    private String roadLineInstallOrg;
    private Integer roadLinePeriod;
    private Integer roadLineServiceLife;
    private String roadLineRemark;
    private Integer roadLineCreatorId;
    private Integer roadLineModifierId;
    private Integer roadLineOrgId;
    private Integer roadLineMainOrgId;
    private Integer roadLineIsComplete;
    private String  roadLineMileage;

    private String roadLineCreatorName; //采集人
    private String roadLineOrgName; //维护单位
    private String roadLineMainOrgName; //监管单位
    private String roadLinePoints; //坐标集
    private Integer elementId;   //统一id
    private String longitude;      //经度集合
    private String latitude;       //维度集合
    private List<CoordinateDto> coordinateDtos;

    public Integer getRoadLineId() {
        return roadLineId;
    }

    public void setRoadLineId(Integer roadLineId) {
        this.roadLineId = roadLineId;
    }

    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    public Integer getCoordinateId() {
        return coordinateId;
    }

    public void setCoordinateId(Integer coordinateId) {
        this.coordinateId = coordinateId;
    }

    public Integer getRoadLineRegionId() {
        return roadLineRegionId;
    }

    public void setRoadLineRegionId(Integer roadLineRegionId) {
        this.roadLineRegionId = roadLineRegionId;
    }

    public String getRoadLineProvince() {
        return roadLineProvince;
    }

    public void setRoadLineProvince(String roadLineProvince) {
        this.roadLineProvince = roadLineProvince;
    }

    public String getRoadLineCity() {
        return roadLineCity;
    }

    public void setRoadLineCity(String roadLineCity) {
        this.roadLineCity = roadLineCity;
    }

    public String getRoadLineArea() {
        return roadLineArea;
    }

    public void setRoadLineArea(String roadLineArea) {
        this.roadLineArea = roadLineArea;
    }

    public String getRoadLineRoadName() {
        return roadLineRoadName;
    }

    public void setRoadLineRoadName(String roadLineRoadName) {
        this.roadLineRoadName = roadLineRoadName;
    }

    public String getRoadLineStartRoad() {
        return roadLineStartRoad;
    }

    public void setRoadLineStartRoad(String roadLineStartRoad) {
        this.roadLineStartRoad = roadLineStartRoad;
    }

    public String getRoadLineEndRoad() {
        return roadLineEndRoad;
    }

    public void setRoadLineEndRoad(String roadLineEndRoad) {
        this.roadLineEndRoad = roadLineEndRoad;
    }

    public Integer getRoadLineType() {
        return roadLineType;
    }

    public void setRoadLineType(Integer roadLineType) {
        this.roadLineType = roadLineType;
    }

    public Integer getRoadLineGraphic() {
        return roadLineGraphic;
    }

    public void setRoadLineGraphic(Integer roadLineGraphic) {
        this.roadLineGraphic = roadLineGraphic;
    }

    public String getRoadLinePhoto() {
        return roadLinePhoto;
    }

    public void setRoadLinePhoto(String roadLinePhoto) {
        this.roadLinePhoto = roadLinePhoto;
    }

    public String getRoadLineInstallTime() {
        return roadLineInstallTime;
    }

    public void setRoadLineInstallTime(String roadLineInstallTime) {
        this.roadLineInstallTime = roadLineInstallTime;
    }

    public String getRoadLineInstallOrg() {
        return roadLineInstallOrg;
    }

    public void setRoadLineInstallOrg(String roadLineInstallOrg) {
        this.roadLineInstallOrg = roadLineInstallOrg;
    }

    public Integer getRoadLinePeriod() {
        return roadLinePeriod;
    }

    public void setRoadLinePeriod(Integer roadLinePeriod) {
        this.roadLinePeriod = roadLinePeriod;
    }

    public Integer getRoadLineServiceLife() {
        return roadLineServiceLife;
    }

    public void setRoadLineServiceLife(Integer roadLineServiceLife) {
        this.roadLineServiceLife = roadLineServiceLife;
    }

    public String getRoadLineRemark() {
        return roadLineRemark;
    }

    public void setRoadLineRemark(String roadLineRemark) {
        this.roadLineRemark = roadLineRemark;
    }

    public Integer getRoadLineCreatorId() {
        return roadLineCreatorId;
    }

    public void setRoadLineCreatorId(Integer roadLineCreatorId) {
        this.roadLineCreatorId = roadLineCreatorId;
    }

    public Integer getRoadLineModifierId() {
        return roadLineModifierId;
    }

    public void setRoadLineModifierId(Integer roadLineModifierId) {
        this.roadLineModifierId = roadLineModifierId;
    }

    public Integer getRoadLineOrgId() {
        return roadLineOrgId;
    }

    public void setRoadLineOrgId(Integer roadLineOrgId) {
        this.roadLineOrgId = roadLineOrgId;
    }

    public Integer getRoadLineMainOrgId() {
        return roadLineMainOrgId;
    }

    public void setRoadLineMainOrgId(Integer roadLineMainOrgId) {
        this.roadLineMainOrgId = roadLineMainOrgId;
    }

    public Integer getRoadLineIsComplete() {
        return roadLineIsComplete;
    }

    public void setRoadLineIsComplete(Integer roadLineIsComplete) {
        this.roadLineIsComplete = roadLineIsComplete;
    }

    public String getRoadLineCreatorName() {
        return roadLineCreatorName;
    }

    public void setRoadLineCreatorName(String roadLineCreatorName) {
        this.roadLineCreatorName = roadLineCreatorName;
    }

    public String getRoadLineOrgName() {
        return roadLineOrgName;
    }

    public void setRoadLineOrgName(String roadLineOrgName) {
        this.roadLineOrgName = roadLineOrgName;
    }

    public String getRoadLineMainOrgName() {
        return roadLineMainOrgName;
    }

    public void setRoadLineMainOrgName(String roadLineMainOrgName) {
        this.roadLineMainOrgName = roadLineMainOrgName;
    }

    public String getRoadLinePoints() {
        return roadLinePoints;
    }

    public void setRoadLinePoints(String roadLinePoints) {
        this.roadLinePoints = roadLinePoints;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Integer getElementId() {
        return elementId;
    }

    public void setElementId(Integer elementId) {
        this.elementId = elementId;
    }

    public String getRoadLineMileage() {
        return roadLineMileage;
    }

    public void setRoadLineMileage(String roadLineMileage) {
        this.roadLineMileage = roadLineMileage;
    }

    public List<CoordinateDto> getCoordinateDtos() {
        return coordinateDtos;
    }

    public void setCoordinateDtos(List<CoordinateDto> coordinateDtos) {
        this.coordinateDtos = coordinateDtos;
    }

    public RoadLineEntity toBean() {
        RoadLineEntity roadLineEntity = new RoadLineEntity();
        roadLineEntity.setProjectNumber(projectNumber);
        roadLineEntity.setRoadLineRegionId(roadLineRegionId);
        roadLineEntity.setRoadLineProvince(roadLineProvince);
        roadLineEntity.setRoadLineCity(roadLineCity);
        roadLineEntity.setRoadLineArea(roadLineArea);
        roadLineEntity.setRoadLineRoadName(roadLineRoadName);
        roadLineEntity.setRoadLineStartRoad(roadLineStartRoad);
        roadLineEntity.setRoadLineEndRoad(roadLineEndRoad);
        roadLineEntity.setRoadLineType(roadLineType);
        roadLineEntity.setRoadLineGraphic(roadLineGraphic);
        roadLineEntity.setRoadLinePhoto(roadLinePhoto);
        roadLineEntity.setRoadLineInstallTime(roadLineInstallTime);
        roadLineEntity.setRoadLineInstallOrg(roadLineInstallOrg);
        roadLineEntity.setRoadLinePeriod(roadLinePeriod);
        roadLineEntity.setRoadLineServiceLife(roadLineServiceLife);
        roadLineEntity.setRoadLineRemark(roadLineRemark);
        roadLineEntity.setRoadLineCreatorId(roadLineCreatorId);
        roadLineEntity.setRoadLineModifierId(roadLineModifierId);
        roadLineEntity.setRoadLineOrgId(roadLineOrgId);
        roadLineEntity.setRoadLineMainOrgId(roadLineMainOrgId);
        roadLineEntity.setRoadLineIsComplete(0);
        roadLineEntity.setRoadLineMileage(roadLineMileage);
        return roadLineEntity;

    }
}
